<style>
    .box h4{
        margin: 0;
    }
    a{
        font-family: arial;
    }
    a:hover{
        text-decoration:none;
    }
    p {
    color: #3E3E3E;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 14px;
    padding: 3px 5px;
}
</style>

<script type="text/javascript">

    sufix = 'news';

</script>

<div style="margin-top: 23px;">

    <div class="box clearfix" style="height: 100px;">

        <h4>Molimo odaberite</h4>


        <select name="page_id" id="page_id" class="elmbigred" style="width: 873px;">

            <option value="0">-- Molimo odaberite</option> 

            <?

                foreach($records as $row){
                ?><option value="<?=$row['id']?>"><?=$row['title']?></option><?
                }

            ?>

        </select>

        <a id="addnew" class="add" href="javascript:">Dodaj</a>

    </div>



    <div id="text_cont">

        <div class="box clearfix">

            <h4>Naslov</h4>

            <input type="text" name="title" id="title" class="elmbigred" style="margin: 0; width: 98%;">

            <h4 style="margin-top: 32px;">Tekst</h4>

            <textarea cols="106" rows="23" name="txt_strane" id="txt_strane"></textarea>

        </div>

        <div class="options clearfix" style="height: 23px;">

            <div style="float: right;">

                <input type="hidden" value="novosti" name="pagetype">

                <input type="hidden" value="" name="txtid">

                <input type="hidden" value="new" name="actiontype"> 

                <a id="form_submit" class="btn" href="javascript:">Uredi</a>  


            </div>

            <div id="del" style="float: right; margin-right: 5px; display: none;">

                <a id="form_delete" class="btn" href="javascript:">Obriši</a>  


            </div>
            
        </div>

    </div>

</div>